#include<iostream>
using namespace std;
int n,x[1001][1001];
int main(){
	int i,j,sum1 = 0,sum2 = 0;
	cin>>n;
	for(i = 0;i < n;i++)
		for(j = 0;j < n;j++){
			cin>>x[i][j];
			if(i == j)
				sum1 += x[i][j];
			if(i + j == n - 1)
				sum2 += x[i][j];
		}
	if(sum1 > sum2)
		cout<<"hzjnb"<<endl;
	else if(sum1 < sum2)
		cout<<"wtcnb"<<endl;
	else cout<<"lclnb"<<endl;
	return 0;
}
